/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      表格      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-WebTable {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  vertical-align: top;

  /* ============================== 无数据的表体 ============================== */
  &-0 .el-table__body-wrapper {
    z-index: 1;
  }

  /* ============================== 加载更多 ============================== */
  &-more {
    line-height: 40px;
    text-align: center;
  }

  /* ============================== 表头 ============================== */
  .el-table__header {
    /* —————————————————————————————— 单元格 —————————————————————————————— */
    th.el-table__cell {
      line-height: 34px;
      padding: 8px 0;

      /* ------------------------------ 内容 ------------------------------ */
      > .cell {
        line-height: 34px;
        vertical-align: top;
      }

      /* ------------------------------ 排序 ------------------------------ */
      .caret-wrapper {
        vertical-align: top;
      }
    }
  }

  /* ============================== 表格 ============================== */
  .el-table {
    /* —————————————————————————————— 单元格 —————————————————————————————— */
    .el-table__body .cell {
      min-height: 40px;
      line-height: 40px;
      margin: auto;

      /* ------------------------------ 内容 ------------------------------ */
      .CoreWeb-RowContent {
        line-height: 24px;
        padding: 8px 0;
        overflow: hidden;
      }

      /* ------------------------------ 链接 ------------------------------ */
      .el-link {
        vertical-align: top;
      }
    }

    &--medium .el-table__body .cell {
      min-height: 36px;
      line-height: 36px;

      /* ------------------------------ 内容 ------------------------------ */
      .CoreWeb-RowContent {
        padding: 6px 0;
      }
    }

    &--small .el-table__body .cell {
      min-height: 32px;
      line-height: 32px;

      /* ------------------------------ 内容 ------------------------------ */
      .CoreWeb-RowContent {
        padding: 4px 0;
      }
    }

    &--mini .el-table__body .cell {
      min-height: 28px;
      line-height: 28px;

      /* ------------------------------ 内容 ------------------------------ */
      .CoreWeb-RowContent {
        padding: 2px 0;
      }
    }
  }

  /* ============================== 下拉按钮 ============================== */
  .el-dropdown {
    margin-left: 0.5rem;
  }

  /* ============================== 分页 ============================== */
  .CoreWeb-TablePage {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 20px;
    box-sizing: border-box;
    overflow: hidden;

    /* —————————————————————————————— 插槽 —————————————————————————————— */
    > slot {
      display: block;
      flex: 1;
      font-weight: normal;
    }

    /* —————————————————————————————— 跳页 —————————————————————————————— */
    .el-pagination__editor {
      vertical-align: top;
    }

    /* —————————————————————————————— 清除 —————————————————————————————— */
    .el-icon-circle-close {
      display: none;
    }
  }

  /* ============================== 空数据 ============================== */
  &-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 80px;
    right: 20px;
    bottom: 50px;
    left: 20px;
    line-height: 40px;
    color: #909399;
    pointer-events: none;

    &-full {
      bottom: 0;
    }
  }
  .el-pagination--small + .CoreWeb-WebTable-empty {
    bottom: 44px;
  }

  /* ============================== 默认的无数据 ============================== */
  .el-table__empty-block {
    > .el-table__empty-text {
      display: none !important;
    }
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     双层表头    >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-WebTable-double {
  /* ============================== 表头 ============================== */
  .el-table__header {
    /* —————————————————————————————— 一级标题 —————————————————————————————— */
    tr:first-child th.el-table__cell[rowspan="1"] {
      line-height: 20px !important;
      padding-bottom: 2px;

      > .cell {
        line-height: 20px !important;
      }
    }

    /* —————————————————————————————— 二级标题 —————————————————————————————— */
    tr:last-child th.el-table__cell {
      line-height: 20px;
      padding-top: 2px;
      white-space: nowrap;

      > .cell {
        line-height: 20px;
        padding: 0 !important;
        white-space: nowrap;
        text-overflow: initial;
      }
    }
  }

  /* ============================== 无数据 ============================== */
  .CoreWeb-WebTable-empty {
    top: 60px;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     三层表头    >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-WebTable-triple {
  /* ============================== 表头 ============================== */
  .el-table__header {
    /* —————————————————————————————— 一级标题 —————————————————————————————— */
    tr:nth-child(1) th.el-table__cell[rowspan="1"] {
      line-height: 20px !important;
      padding-bottom: 2px;

      > .cell {
        line-height: 20px !important;
      }
    }

    /* —————————————————————————————— 二级标题 —————————————————————————————— */
    tr:nth-child(2) th.el-table__cell[rowspan="1"] {
      line-height: 20px !important;
      padding: 2px 0;

      > .cell {
        line-height: 20px !important;
      }
    }

    /* —————————————————————————————— 三级标题 —————————————————————————————— */
    tr:nth-child(3) th.el-table__cell {
      line-height: 20px;
      padding-top: 2px;
      white-space: nowrap;

      > .cell {
        line-height: 20px;
        padding: 0 !important;
        white-space: nowrap;
        text-overflow: initial;
      }
    }
  }

  /* ============================== 无数据 ============================== */
  .CoreWeb-WebTable-empty {
    top: 84px;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<     无表格    >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-WebTable-noTable {
  /* ============================== 表格 ============================== */
  .el-table,
  .CoreWeb-WebTable-empty {
    display: none;
  }
}

/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<      无提示      >>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<            >>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/

.CoreBody .CoreWeb-Row-no-tip .cell {
  word-break: initial;
  overflow: auto;

  /* ============================== 内容 ============================== */
  .CoreWeb-RowContent {
    overflow: auto !important;
  }
}
